<?php
namespace app\serversubmitform\model;

use \app\manage\model\BaseModel;

class Submitform extends BaseModel
{
	protected $name = 'submitform';
    protected $connection = 'db_config_submitform';
    protected $dateFormat = 'Y-m-d';

    public function setUserInfoAttr($value)
    {
        return json_encode($value);
    }
   
    public function getUserInfoAttr($value)
    {
        return json_decode($value, true);
    }

    public function setFormContentAttr($value)
    {
        return json_encode($value);
    }
   
    public function getFormContentAttr($value)
    {
        return json_decode($value, true);
    }
  
}